@import '../../../style/font.scss';
@import '../../../style/color.scss';
@import '../../../style/onepx.scss';

.select-business-page {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  >div:nth-child(2) {
    overflow: auto;
  }

  .search-input-wrap {
    height: 100px;
    background-color: #FFFFFF;
   // border-bottom: 1px solid $normal-border-color;
     @include onepx($normal-border-color, bottom);
    padding-bottom: 1px;
    flex-shrink: 0;

    .am-list-item.am-input-item:after {
      display: none;
    }

    .am-input-item {
      height: 100%;
      padding: 0;

      .am-input-control {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        input {
          @include font-dpr(30px);
          height: 68px;
          width: 710px;
          padding: 0;
          background-color: #ECECEC;
          border-radius: 100px;
          padding-left: 80px;
        }
      }
    }
  }
  .business-list {
    display: flex;
    flex-grow: 1;
    background-color: #FFFFFF;
    @include onepx($normal-border-color, vertical);
    padding: 0 20px;

    .order-foot-nodata {
      @include font-dpr(30px);
    }

    .loading-label {
      @include font-dpr(30px);
    }

    .am-list-view-scrollview-content {
      .am-list-body {
        border: none;
      }
    }

    .business-info {
      height: 90px;
      padding: 0 10px;
      font-family: $regular-font-family;
      @include font-dpr(30px);
      color: #3A3A3A;
      line-height: 90px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;

      &:not(:last-child) {
        //border-bottom: 1px solid $normal-border-color;
         @include onepx($normal-border-color, bottom);
      }
    }
  }
}
